package edu.hz.service;

import edu.hz.model.dto.HomeMostContributePeopleDto;
import edu.hz.model.dto.UserContributeDto;
import edu.hz.model.dto.UserLoginDto;
import edu.hz.model.dto.UserRegisterDto;
import edu.hz.util.web.ApiResponse;

import java.util.List;

public interface UserService {


    ApiResponse<Void> addUser(UserRegisterDto userRegisterDto);

    ApiResponse<String> login(UserLoginDto userLoginDto);

    ApiResponse<Void> userContribute(UserContributeDto userContributeDto);

    ApiResponse<List<HomeMostContributePeopleDto>> top10Contributors();

}
